import request from '@/utils/request'

// 查询委外工单质检记录
export function listCheck(workorderId) {
  return request({
    url: '/mes/pro/outsourceWorkorder/check/' + workorderId,
    method: 'get',
  })
}

// 查询委外工单领料记录
export function listIssue(workorderId) {
  return request({
    url: '/mes/pro/outsourceWorkorder/issue/' + workorderId,
    method: 'get',
  })
}

// 查询委外工单入库记录
export function listRepect(workorderId) {
  return request({
    url: '/mes/pro/outsourceWorkorder/repect/' + workorderId,
    method: 'get',
  })
}

// 查询物料清单
export function materielList(workorderId) {
  return request({
    url: '/mes/pro/workorder/materiel/' + workorderId,
    method: 'get',
  })
}